Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

Still no joy.

Well, i mean, what exactly was added to java.policy? In order to use java.util.logging, next line must be added to default grant section of java.policy file:
permission java.util.logging.LoggingPermission "control";

> I added that to the first "grant {}" section, like so:


grant {
...
// Testing logging access.
permission java.util.logging.LoggingPermission "control";

};



> I restarted Notes/Designer. Is that sufficient to restart the JVM?
Yes. But i actually thought you were trying to run it on server side (then server restart is required).
As far as i know, when java agent runs in Notes client environment, then default logging output for Logger.logp calls goes to java debug concole. Try checking it out (Tools -> Show Java Debug Concole in Notes Client).

> Debug Console is blank. Also Help > Support > View Trace and > View Log do not show my logging.


When you create a Logger object with Logger.getLogger(CLAZZ_NAME) call, it gets some default logging level, based on LogManager configuration (which is defined by jvm\lib\logging.properties file). Usually the default level is INFO, that is higher than FINE and FINER levels in your calls, which means, in that case, any FINE and FINER calls will be omitted.

> I also started the Notes client with the OSGi console (again, prohibitively impractical for production deployment) and used the setlogrlev JavaAgent FINEST (confirmed with getlogrlev) and still no logging.

Thanks for your help, but I'll have to move on to some other logging solution, unfortunately.


Feedback response number WEBB8SYQHZ created by ~Frank Nimrepul on 04/02/2012

How to use java.util.logging in a J... (~Vanessa Deskip... 2.Apr.12)
. . possible reasons (~Anita Elrevitc... 2.Apr.12)
. . . . Answers (~Vanessa Deskip... 2.Apr.12)
. . . . . . re (~Anita Elrevitc... 2.Apr.12)
. . . . . . . . Still no joy. (~Vanessa Deskip... 2.Apr.12)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS